package yz.cp.back.s.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import yz.cp.back.base.AuditEntity;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author jobob
 * @since 2019-04-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sys_department")
public class SysDepartment extends AuditEntity {


    private String parentId;

    private BigDecimal sortOrder;

    private Integer status;

    private String title;

    private Boolean isParent;

    @TableField(exist = false)
    private String parentTitle;
    @TableField(exist=false)
    private List<String> mainHeader;
    @TableField(exist=false)
    private List<String> viceHeader;

}
